package com.harassment.interception.interception.sms;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.net.Uri;
import android.os.Bundle;
import android.telephony.SmsMessage;
import android.util.Log;
import android.widget.Toast;

import com.harassment.interception.data.databases.HIDBUtil;
import com.harassment.interception.data.databases.entities.InterceptedSms;
import com.harassment.interception.ui.fragments.setting.SettingFragment;

import java.io.Serializable;

public class SmsReceiver extends BroadcastReceiver implements Serializable {
    private static final String TAG = "SmsReceiver";
    public static final String BROADCAST_RECEIVER = "SmsReceiver";
    public static final String SMS_RECEIVED = "android.provider.Telephony.SMS_RECEIVED";

    @Override
    public void onReceive(Context context, Intent intent) {
        SmsInterception.smsIntercept(context, intent, this);
    }

}
